#ifndef MDD_H
#define MDD_H

#include "MDictBase.h"

class MDD : public MDictBase {
private:
    std::vector<uint8_t> _treat_record_data(const std::vector<uint8_t>& data);
    
protected:
    std::vector<std::pair<std::string, std::vector<uint8_t>>> _read_records() override;
    
public:
    MDD(const std::string& fname, const std::pair<std::vector<uint8_t>, std::string>& passcode = {});
    std::vector<std::pair<std::string, std::vector<uint8_t>>> items() override;
};

#endif // MDD_H